#include <iostream>
using namespace std;
int main()
{
	int a,b,c;
	while(cin >>b) 
	{
		for(a=1,c=0;a<=b;a++)
			c+=a;
		cout << c << endl<<endl;
	}
	return 0;

} 